<?php
    $this->breadcrumbs = array(
        t('Customer Loan Setting') => array('index'),
        t('Create'),
    );

    /* $this->menu = array(
      array('label' => t('List Customer Loan Setting'), 'url' => array('index')),
      array('label' => t('Manage Customer Loan Setting'), 'url' => array('admin')),
      ); */
?>

<h1><?php echo t('Create Customer Loan Setting'); ?></h1>

<?php
    //called from payment page, not controller
    /* if (isset($_GET['id4clear'])) {
      $id4clear = $_GET['id4clear'];
      }
      if (isset($_GET['owedloan'])) {
      $owedloan = $_GET['owedloan'];
      } */

    $param = array('model' => $model);
    if (isset($id4clear)) {
        $param = array_merge($param, array('id4clear' => $id4clear));
    }
    if (isset($owedloan)) {
        $param = array_merge($param, array('owedloan' => $owedloan));
    }
    echo $this->renderPartial('_form', $param);
?>